50% request failing with 403 Forbidden

Hi Everyone!

Is there currently an issue with the real-time feeds? Around 50% of the request are successful and the other requests fail with a 403 Forbidden response.

/v1/gtfs/vehiclepos/buses
403 {“message”:“Invalid key=value pair (missing equal-sign) in Authorization header (hashed with SHA-256 and encoded with Base64): ‘/*abc123??? redacted*/=’.”}

As some of the requests are successful I’m assuming that this isn’t an issues with auth from our side.

Best Regards
Sebastian

Hi Sebastian,

We’ve checked the backend and didn’t find any issues. Could you please share more details about the error you’re seeing? If possible, sending screenshots would help us better understand the problem. You can email them to us at apigateway.support@transport.nsw.gov.au.

Just so you’re aware, Open Data has a quota system in place, which has been recently modified to ensure limits are being appropriately enforced.

To better understand the quota limits, please refer to the following page: API Basics | Transport Open Data

Please ensure to check how often you are calling APIs and adjust accordingly. For example, staggering calls so that an API is only hit once per second. The default bronze plan allows 5 calls per second.

Regards,

Suraj

Hi Suraj,

it was an intermittent issue which disappeared a couple of hours later and isn’t reproducible. I don’t think that we hit any quotas or rate limits. But we will check for this should this problem occur again.

Regards,
Sebastian