How to troubleshoot NatsJSApiNoResponseException when calling CreateOrUpdateConsumerAsync? #428
-
How can I troubleshoot the following exception which occurs when trying to create a consumer (
Code to create consumer:
Values used for stream, subject and durable name:
I've captured with
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
did you capture INFO server sends first? U;n guessing JetStream isn't enabled. |
Beta Was this translation helpful? Give feedback.
-
That was it! Thanks! Now I am getting a different error:
|
Beta Was this translation helpful? Give feedback.
-
What happens if one the messages fail to deserialize using the deserializer assigned at startup to |
Beta Was this translation helpful? Give feedback.
yes, you can still ack/nack/terminate messages as usual, and yes the exception would be
NatsDeserializeException
and you can access the actual serializer exception (it'd be theInnerException
) and even the payload as byte array: