Web Services Method is not allowed

  • 1
  • Question
  • Updated 3 weeks ago
  • Answered
Hello,
Trying to get all data from a report using web services.
If I go to https://na6.replicon.com/services/ReportService1.svc/help/test/GenerateReport
I can input the parameters and see the results.
Then when I try to use the direct end point to the service https://na6.replicon.com/services/ReportService1.svc/GenerateReport (with correct parameters) I get a Method not Allowed.
Tried in the browser and other tools and always same issue.
I have no issue to login.
What should I do to activate the web service?
Or do you know of any other option to get all timesheet data by user, project and day?
Thank you.


Photo of Otmani, Abdel

Otmani, Abdel

  • 3 Posts
  • 0 Reply Likes

Posted 1 year ago

  • 1
Photo of admin, admin

admin, admin

  • 2 Posts
  • 0 Reply Likes
Are you authenticating in your code?
Photo of Otmani, Abdel

Otmani, Abdel

  • 3 Posts
  • 0 Reply Likes
Yes using admin account (companyKey\Login and pwd)
I don't get Not Authenticated (401) but Method Not Allowed (405)
Photo of Otmani, Abdel

Otmani, Abdel

  • 3 Posts
  • 0 Reply Likes
Found that I should use POST instead of GET method.
However still have an issue:
{
    "error": {
        "code": "Sender",
        "correlationId": "bfa8fbed84fa41048acff751c9b6dcdf",
        "reason": "The user account is not permitted to use the attempted authentication method",
        "details": {
            "displayText": "The user account is not permitted to use the attempted authentication method",
            "failureUri": "urn:replicon-saas-security:authentication-error:invalid-authentication-protocol"
        },
        "type": "AuthenticationError1"
    }
}

I'm using Basic Auth without Body.

If I had a Body to the request
{
  "reportUri": "urn:replicon-tenant:17f7a637b83349e9b16ef4905eb64944:report:7029916e-1802-4aad-b3eb-0f852055a5ab",
  "filterValues": [],
  "outputFormatUri": "urn:replicon:report-output-format-option:csv"
}

then the issue is 
{
    "error": {
        "code": "InternalServiceFault",
        "correlationId": "acfcc6f0716c4a3390ba42070121e26a",
        "reason": "The server was unable to process the request due to an internal error."
    }
}

Can you help me understand what I'm doing wrong...
Photo of Aashnee Kamboj

Aashnee Kamboj, Community Moderator

  • 1657 Posts
  • 115 Reply Likes
Hi Abdel,

Apologies for a delayed response.

Please let me have an expert team reach out to you regarding the same.
Photo of Alex Savchenko

Alex Savchenko

  • 3 Posts
  • 0 Reply Likes
Was that issue solved? I have the same...

Photo of Akbar Ali Khan

Akbar Ali Khan, Official Rep

  • 185 Posts
  • 5 Reply Likes
Hi Alex,

I will have our support team reach out to you about the same.
Photo of Huber, Trent

Huber, Trent

  • 2 Posts
  • 0 Reply Likes

What is the solution to this issue? I am having the same difficulty connecting.
Photo of Vinodh.V

Vinodh.V, Community Moderator

  • 86 Posts
  • 2 Reply Likes
Hello Huber,

Are you receiving the same error?

Can you please give us details about what is the action and what is the result.

Regards,

V.Vinodh
Photo of Huber, Trent

Huber, Trent

  • 2 Posts
  • 0 Reply Likes
Yes, the same error: "The user account is not permitted to use the attempted authentication method"
Photo of Vinodh.V

Vinodh.V, Community Moderator

  • 86 Posts
  • 2 Reply Likes
Hello Hubret,

Thank you for the response.

We will ask one of our support specialists to reach out to you and assist you with this reported issue.

We need additional information to assist you better so we will contact you with your as per the support entitlement.

Regards,

Vinodh.V