Scale up as you grow โ whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I set up a function with the following project.yml file
packages:
- name: sample
actions:
- name: hello
runtime: 'python:default'
environment:
LOG_DESTINATIONS: '[{"logtail":{"token":"MY_SOURCE_TOKEN"}}]'
When executing the function I get the following error
2025-04-26T11:43:54.97811523Z stderr: Failed to flush logs: failed to ingest log line, code: 401
A curl using the token works tho
curl -X POST "https://s1287463.eu-nbg-2.betterstackdata.com" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer MY_SOURCE_TOKEN" \
-d '{"message":"Test from curl"}'
Does anybody have an idea how I could investigate the issue?
Rory McEwan
Anjanesh Lekshminarayanan
182d09356ab94d3893ddfaca4f0270
Prashant Kumbhat
kprichard
e452769e8f30404d81a3bc803143f4
Eleanor
GamesmenJordan
EricWVGG