You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scaffold a new project using create-mastra@latest
Create a new Redis Upstash using Upstash.com
Add a logger using UpstashTransport from @mastra/loggers
Run the mastra server
Go to weather workflow, enter a city and submit
Go to the Log Drains section in the playground.
Observe the error.
Expected Behavior:
Log drains should function without requiring an explicit transportId.
Environment:
@mastra/core verson: 0.2.1
@mastra/loggers: 0.1.1
Console Output:
Error getting logs by run ID HTTPException [Error]: transportId is required
at getLogsByRunIdHandler (file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:5165:13)
at dispatch (file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:486:23)
at file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:486:46
at Object.assign.resolver (file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:2916:15)
at dispatch (file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:486:23)
at file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:486:46
at file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:5875:11
at dispatch (file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:486:23)
at file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:486:46
at cors2 (file:///Users/<username>/Desktop/mastra-agent-app/.mastra/output/index.mjs:2118:11) {
res: undefined,
status: 400,
[cause]: undefined
}
@Benyon to be honest with you I dont think that feature ever worked and we hoped people wouldn't notice :P. Now that you noticed guess we have to fix it!
In Mastra, when adding a logger using UpstashTransport, the Log Drains feature in the playground throws an error:
This happens even when following the official guide:
Upstash Logger Remote Log Drain
Steps to Reproduce:
Expected Behavior:
Log drains should function without requiring an explicit transportId.
Environment:
Console Output:
Code:
Additional Context:
Would appreciate a fix or guidance on resolving this.
The text was updated successfully, but these errors were encountered: