Two issues when posting

52 views
Skip to first unread message

David Freye

unread,
Oct 23, 2018, 8:33:54 AM10/23/18
to Developer Group for QPP APIs
When using postman to send a submission, I am getting a 'Could not get any response'. Any ideas? I have my api key under authorization using the bearer token same as last year, just updated with the new key. 
This is what I am getting from postman, and the first couple of tries it worked and I was getting the same response I was getting from Swagger UI. 

Could not get any response
Why this might have happened:
  • The server couldn't send a response:
    Ensure that the backend is working properly
  • Self-signed SSL certificates are being blocked:
    Fix this by turning off 'SSL certificate verification' in Settings > General
  • Proxy configured incorrectly
    Ensure that proxy is configured correctly in Settings > Proxy
  • Request timeout:
    Change request timeout in Settings > General

We are using xml as we have not switched to json yet, but I have verified the command with 


this is where I have my second issue. When I execute a POST from here, I am getting a response. 

{
  "error": {
    "type": "UnauthorizedError",
    "message": "Current user cannot create this object"
  }
}
Any insight would be appreciated.
Thanks, David Freye



Sarah White

unread,
Oct 23, 2018, 11:05:13 AM10/23/18
to David Freye, Developer Group for QPP APIs
Hi David,

You can't POST to /submissions. This is the same as last year. Please review the tutorial in our Developer Documentation for more information about submitting data to the API: https://cmsgov.github.io/qpp-submissions-docs/tutorial

Sarah White
Business Analyst


--
You received this message because you are subscribed to the Google Groups "Developer Group for QPP APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qpp-apis+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/qpp-apis.
To view this discussion on the web visit https://groups.google.com/d/msgid/qpp-apis/4b3d6abc-10a0-4add-8cf7-d078eea33109%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages