Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

2,396 views 6 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you