You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the steps in the documentation to create a Clients collection and although I can read the collection and its items (/clients and /clients/:id) I can't POST or PUT to it.
It gives me a generic error:
DataException in DataObject.php line 66:
An error with the provided data occured.
Going to that line and printing the $errorBag variable I get this:
I followed the steps in the documentation to create a Clients collection and although I can read the collection and its items (/clients and /clients/:id) I can't POST or PUT to it.
It gives me a generic error:
Going to that line and printing the
$errorBag
variable I get this:So it says "Unsupported Action" and "Resource type clients not supported.", what am I missing?
So I probably did something wrong or skipped a step in the configuration of the api.
Anyone knows what happened?
Extra info
I'm using Axios to send a request from a react spa. I configured CORS and I'm already getting things from the server.
The text was updated successfully, but these errors were encountered: