ErrorsExternal services · rule
connection.value_invalid
Connection's key holds a value it can't.
Area 11, External services; not declinable; the next step is usually the agent's.
A credential is read from a secret setting, which code never sees:
application { connections: { couriers: { package: AcmeCouriers.v1 domains: [shipping] credential: config.couriers_api_key environment: config.couriers_environment } }}
error couriers's credential must be a secret setting
--> app.jadpo:6:25
|6 | credential: config.couriers_api_key | ^^^^^^^^^^^^^^^^^^^^^^^ `couriers_api_key` isn't secret
- reason
- A credential is read from the deployment's environment and never seen by code, so it is a
secret: truesetting,config.<name>(area 10, "Secrets"). - next
- Add
secret: truetocouriers_api_keyinconfig.jadpo(agent) - rule
- connection.
value_ invalid - help
- https://jadpo.
dev/docs/errors/connection. value_ invalid
development: { sandbox: } names the package's own operations and
resources:
application { connections: { couriers: { package: AcmeCouriers.v1 domains: [shipping] environment: config.couriers_environment development: { sandbox: [bookings.creat] } } }}
error couriers's sandbox: lists bookings.creat, which AcmeCouriers.v1 doesn't have
--> app.jadpo:8:27
|8 | sandbox: [bookings.creat] | ^^^^^^^^^^^^^^ no such operation or resource
- reason
sandbox:lets the package's public operations and resources through to its sandbox injadpo dev;AcmeCouriers.v1hasbookings.createandbookings.- next
- Use
bookings.createinstead ofbookings.creat(agent) - rule
- connection.
value_ invalid - help
- https://jadpo.
dev/docs/errors/connection. value_ invalid
erasure: { key: } names the field of the person's record holding what the
provider knows them by, so it is a field of a person: true entity, of the
type the package's erasure: by: names. Each of these is this error, such
as `pay`'s `erasure:` key `User.plan` isn't a `CustomerId`
(Erasure at providers).
Markdown for agents: /docs/errors/connection.value_invalid.md.Built from Jadpo main at aee2e8f.