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,298,376
Community Members
 
Community Events
165
Community Groups

Getting 403 error from /cards Endpoint

Edited

Hello Community,

We are collecting data for all cards present in all the boards. So, we are collecting all the boards from "/boards" endpoint and for all the boards, we are collecting the respective cards using "/boards/board-id-1/cards" endpoint.

But recently we are facing 403 errors during these API Calls. We verified that all permissions are in place.

The error we are encountering:


403 Client Error: Forbidden for url: https://api.trello.com/1/boards/board-id-1/cards/all?before=2022-05-11T16%3A54%3A10.208811Z&limit=5000&customFieldItems=true"

1 answer

@hp 

I think you need to have the board id in the url. 

@milynnus We are providing the valid board id in the URL. Here board-id-1 is kept in a URL as an example value.

@hp 

I checked the trello api documentation on filter cards it does not allow you to on a query parameter for since. Would you like to double check. 

@milynnus we are using before for different account and it is not throwing any error for them.
Here is the ref link where it is stated that since or before param can be used to filter out the data.


One of: -id | | since | A date, or null | | before | A date, or null | | filter | Default: visible


@hp 

I am not using Trello api in its raw form but via a Python wrapper. I am familiar with that page. The place were I have came across since and begin was with actions - I suspect that you need to include a param action=createCard. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,361 views 28 40
Join discussion

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