How to fix issue “POST xhr with 401 unauthorised error”,When i create a new announcement in canvas

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to fix issue “POST xhr with 401 unauthorised error”,When i create a new announcement in canvas

Vignesh Ramamoorthy
I implemented new Project in Ruby on Rails

In my project I Created page "Announcement" with Topic tittle field,text message field,Attachment field and save button

Whenever I try to create new Announcement,

I enter something in topic title feild,text message feild,attached image in Attachment feild,and finally click the save button,its works properly then it automatically moves to next page

But My Issue is

By clicking the save button with out attaching any image in attachment feild,I Got the error in console tab - "POST XHR http://mydomain/api/v1/courses/1016/discussion_topics" along with "401(unauthorised)"

And In network tab-{"status":"unauthorized","message":"Invalid access token."}

But it work properly few day before.now I'm getting issue.I dont know How to solve??

[pls refer this image][1]

Thanks



  [1]: https://i.stack.imgur.com/0Hpeg.png

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2dccd54f-79c2-4a05-bb9a-7ccf4e4d337e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.