Failed to batch ingest runs: LangSmithError("Failed to post .../runs/batch in LangSmith API. Invalid URL '.../runs/batch': No scheme supplied. Perhaps you meant https://.../runs/batch?\n") #528
Labels
bug
Something isn't working
Hi,
I am having this issue with a URL API call to LangSmith API.
Here is some of the terminal results (which repeats every 180 seconds).
Checking for new emails
Failed to batch ingest runs: LangSmithError("Failed to post .../runs/batch in LangSmith API. Invalid URL '.../runs/batch': No scheme supplied. Perhaps you meant https://.../runs/batch?\n")
No new emails
Waiting for 180 seconds
Failed to batch ingest runs: LangSmithError("Failed to post .../runs/batch in LangSmith API. Invalid URL '.../runs/batch': No scheme supplied. Perhaps you meant https://.../runs/batch?\n")
I had chatgpt check the .py files of the application, and it can't locate the possible URL issue.
It's response was:
Understanding the Error
Invalid URL: The program is trying to make a web request to an API endpoint, but the URL it's using is incomplete or malformed because it lacks the scheme (http:// or https://).
LangSmithError: This is a custom error, likely defined in your CrewAI application or a dependency, indicating an issue specifically with LangSmith API interactions.
Suggested Fix: The error message even hints at a possible solution: ensuring the URL starts with https://.
Thanks for your help!
The text was updated successfully, but these errors were encountered: