diff --git a/src/aleph/sdk/client/http.py b/src/aleph/sdk/client/http.py index 3d42d490..c8dda3c7 100644 --- a/src/aleph/sdk/client/http.py +++ b/src/aleph/sdk/client/http.py @@ -516,7 +516,9 @@ async def get_program_price(self, item_hash: str) -> PriceResponse: async def get_message_status(self, item_hash: str) -> MessageStatus: """return Status of a message""" - async with self.http_session.get(f"/api/v0/messages/{item_hash}") as resp: + async with self.http_session.get( + f"/api/v0/messages/{item_hash}/status" + ) as resp: if resp.status == HTTPNotFound.status_code: raise MessageNotFoundError(f"No such hash {item_hash}") resp.raise_for_status()