Table of contents
Common errors
Error 429
All the APIs can return the status code 429 . This error represents an IO infrastructure overload signal: in this case, it is necessary to implement a retry mechanism and reduce the rate of the requests, inserting pauses.
Error 400
1
2</div> In this case the error is due to an incorrect transmission of the body, such as a body not sent in the correct format (JSON), for example. ## Error 401 <div data-gb-custom-block data-tag="code">
3
4 ```json { "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription." }
5In this case, make sure to have entered the correct value of the key Ocp-Apim-Subscription-Key in the header. Use one of the two keys present in the "Profile (subscriptions)" section of the portal.{ "statusCode": 401, "message": "Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API." }In this case, make sure to have entered the value of the key Ocp-Apim-Subscription-Key in the header request. Use one of the two keys present in the "Profile (subscriptions)" section of the portal.Error 403{ "detail": "You are not allowed to issue requests for the recipient.", "status": 403, "title": "Recipient forbidden" }In this case, make sure to have entered a valid fiscal code that is present in the test.{ "detail": "You do not have enough permission to complete the operation you requested", "status": 403, "title": "You are not allowed here" }In this case, make sure to have entered a valid IP in the original IP LIST authorized by the service or to have signed the additional Premium contract and to have performed the required onboarding procedures.Error 404{ "statusCode": 404, "message": "Resource not found" }In this case, make sure to have written the path of the request correctly, e.g.: https://api.io.pagopa.it/api/v1/profiles
Haven't completed onboarding yet and need help?
Write an email describing your problem or question to the address areariservata@assistenza.pagopa.it.
Tell us what you think
To report problems or give feedback, leave a comment in the GitHub space of the IO app