Question

Invalid API Response

  • 25 August 2021
  • 0 replies
  • 41 views

I have a create action that sends a POST to an api. The api responds with status: 200 and content: “OK”. When I return response.content, I get the error “Invalid API Response: Got a non-object result, expected an object from create ("OK")”

 

How can I solve this?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.