Matt Menzenski
06/07/2024, 1:18 PMsinger_sdk.exceptions.FatalAPIError: 404 Client Error: Not Found for path:
. The path in this error message is one I know to be correct - a cURL command against it gets the expected response.
Is there an easy way to log out the full URL (including query parameters) so that I can better debug this?Matt Menzenski
06/07/2024, 1:33 PM/transactions?startDate
This is what I’m setting the path to:
/transactions
But this is what Meltano is using:
/transactions/?startDate
and that 404s
😕
So now the question is, what’s the best way to strip out the trailing /
character from the path?Matt Menzenski
06/07/2024, 1:42 PMdef get_url(self, context: dict | None) -> str:
return super().get_url(context).rstrip("/")
Edgar Ramírez (Arch.dev)
06/10/2024, 8:39 PMpath
attribute of the stream looked like? If the SDK is adding a trailing slash that may be a bug.Matt Menzenski
06/11/2024, 1:32 AMpath
to ""
in the stream classEdgar Ramírez (Arch.dev)
06/12/2024, 7:30 PM