duffelhq/duffel-api-python

invalid_request_error: Not found: The resource you are trying to access does not exist

Closed this issue · 2 comments

Describe the bug

When attempting to get an offer by its id CLIENT.offers.get(offer_id) I get this response:

invalid_request_error: Not found: The resource you are trying to access does not exist

This is when using both a test key and a live key

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

System (please complete the following information):

  • OS: [e.g. Ubuntu]
  • Library version: [e.g. 0.2.0]
  • Python Version: [e.g. 3.10]

Additional context
Add any other context about the problem here.

My mistake, was not passing in a correct offer id.

No worries at all!