Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new RPC service using Laminas API tools > Error creating service (Code: 422): Failed Validation #50

Open
ranjith-2517 opened this issue Mar 4, 2022 · 2 comments
Labels
Bug Something isn't working

Comments

@ranjith-2517
Copy link

Issue Report

Q A
8.0.16 PHP

Not able to create an RPC service, I'm getting the below error

Error creating service (Code: 422): Failed Validation

REST service is working fine. The problem is only with the RPC service which is I do not understand. Can someone please help me? Thanks in advance. :-)
I have attached the screenshot of composer.json for reference.
Screenshot from 2022-03-04 09-45-38

Screenshot from 2022-03-04 09-06-33

@ranjith-2517 ranjith-2517 added the Bug Something isn't working label Mar 4, 2022
@Bro3x
Copy link

Bro3x commented May 6, 2022

Same here. Got the following messages at ContentValidationListener.php:267:

'controller_class' => 'The Controller Class must be a valid, fully qualified, PHP class name'
'accept_whitelist' => 'The Accept Whitelist must be an array of valid media type expressions'
'content_type_whitelist' => 'The Content-Type Whitelist must be an array of valid media type expressions'
'http_methods' => 'The HTTP Methods must be an array of valid HTTP method names'

@Bro3x
Copy link

Bro3x commented May 6, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants