Run task via API with enviroment variable get 500 #1044
-
Hello. I try to run a task via API. Without an environment variable all work fine. And with a specified environment (found it in API docs). I created unbound environment in UI. I'm get a 500 error. Endpoint: http://localhost:3000api/project/1/tasks body: { In logs: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @dmitrygribenchuk ,
I agree error message must be more informative. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer, on a docs environment must be string { |
Beta Was this translation helpful? Give feedback.
-
Yes, it should be stringified JSON.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! It's works. |
Beta Was this translation helpful? Give feedback.
Yes, it should be stringified JSON.