Skip to content

[Version: ^3.12.0] #459

Description

@BeneG02

Describe the bug
When I try to upload a new document in the deployed version I get the following error in the logs indicating the vcap is not there:
msg: 500 - Error: No service definition found for 'malwareScanner'
msg":"No service definition found for 'malwareScanner', as required by 'cds.requires.malwareScanner': {\n model: '@cap-js/attachments/srv/malwareScanner',\n vcap: { label: 'malware-scanner' },\n kind: 'malwareScanner-btp',\n credentials: {\n sync_scan_url: 'https://malware-scanner.cf.eu10.hana.ondemand.com',\n async_scan_url: '',\n uri: 'malware-scanner.cf.eu10.hana.ondemand.com',\n url: 'https://malware-scanner.cf.eu10.hana.ondemand.com',

But the VCAP is there:

Image

I defined the binding in the mta.yaml for the service as well as the resource itself. Objectstore is also bound and there. It worked it the past (last checked on April 29th but no version change since then) If I redeploy the repo version at that time I now get the same error. Other projects experienced the same but for them the issue seems to be gone (""I do not know the issue . It was just fixed somehow" :D)

Otherwise I only added it to one entity and exposing this then in a service no other configs done

To Reproduce
Followed the simple step up guide from the READ.me

Expected behavior
The item should be scanned and uploaded

[ ] is it a regression issue?

Screenshots

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NewbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions