Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,907
Community Members
 
Community Events
168
Community Groups

How to POST data into an api.statuspage.io endpoint, getting 404?

Hi All,

I have an issue when trying to POST data related to OPERATIONAL status of an application into statuspage API endpoint i.e Page/Page_ID -> Component/Component_ID(the endpoint).

I am running a PYTHON script and able to GET details for the component_id from the endpoint, but getting an ERROR-404 during the POST.

RESPONSE_MESSAGE : b'{"error":"The requested resource could not be found."}'

NOTE : (1) The API_KEY being used is VALID and authorized to access the API. (2) Error out only when we POST.

Please let me know what other details to be checked before making a POST request to the API endpoint, let know if you require any additional information.

 

Regards,

Naren

1 answer

1 vote
Jesse Klein Atlassian Team Oct 22, 2021

Hello Naren,

This is Jesse from the Statuspage support team. Welcome to the community and thanks for the question. For the API, we use PUT and PATCH requests. I am not entirely sure how your code is written but this might be causing the issues you are having if you specifically use POST.

Please take a look here as well to see if you have everything required for the request: https://developer.statuspage.io/#operation/putPagesPageIdComponentsComponentId

Hopefully that helps. I hope you have a great day!

Regards,
Jesse

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events