ErrorsExternal services · rule
package.operation_invalid
Provider operation holds what it can't, or lacks what it needs.
Area 11, External services; not declinable; the next step is usually the agent's.
A provider package's operations in
resources/are each read and checked: its keys,method:andpath:(each placeholder one of its input's fields, by its spelling on the wire), itsinput:one of the package's object types, itsfailures:the package's own, andoutput_at:andfailed_when:places in the answer.
A placeholder in path: is filled from the input's field of that
spelling on the wire:
public resource parcels { get: { method: HttpMethod.get path: "/v1/parcels/{parcelId}" input: ParcelLookup output: Parcel changes: false source: PackageSource.written }}
error parcels.get's path names {parcelId}, which its input doesn't give
--> shared/providers/acme_couriers/v1/resources/parcels.jadpo:4:15
|4 | path: "/v1/parcels/{parcelId}" | ^^^^^^^^^^^^^^^^^^^^^^^^ a placeholder with no field
- reason
- A placeholder in
path:is filled from the input's field of that spelling on the wire, and its input,AcmeCouriers.ParcelLookup, has no field sent asparcelId. - next
- Add a field
parcelIdto the input, or give the field the provider's spelling withwire_name: "parcelId"(agent) - rule
- package.
operation_ invalid - help
- https://jadpo.
dev/docs/errors/package. operation_ invalid
Markdown for agents: /docs/errors/package.operation_invalid.md.Built from Jadpo main at aee2e8f.