This is what I’m getting on my logs, it looks similar?
-ERROR 1 --- [nio-8443-exec-3] .a.c.c.C.[.[.[.[.a.f.i.c.j.JerseyConfig] :
Servlet.service() for servlet
[org.apache.fineract.infrastructure.core.jersey.JerseyConfig] in context with
path [/fineract-provider] threw exception [java.lang.IllegalArgumentException:
Invalid JSON in BODY (no longer URL param; see FINERACT-726) of POST to
/authentication: ] with root cause
java.lang.IllegalArgumentException: Invalid JSON in BODY (no longer URL param;
see FINERACT-726) of POST to /authentication:
at
org.apache.fineract.infrastructure.security.api.AuthenticationApiResource.authenticate(AuthenticationApiResource.java:97)
at jdk.internal.reflect.GeneratedMethodAccessor607.invoke(Unknown
Source)
Best Regards
Walter
> On 29 Jan 2024, at 20:29, Ádám Sághy <[email protected]> wrote:
>
> In your fineract backend log are you getting something like this?
>
> 2024-01-29 18:20:44.010 -ERROR 17215 --- [nio-8080-exec-4]
> .a.c.c.C.[.[.[.[.a.f.i.c.j.JerseyConfig] : Servlet.service() for servlet
> [org.apache.fineract.infrastructure.core.jersey.JerseyConfig] in context with
> path [/fineract-provider] threw exception [Filter execution threw an
> exception] with root cause
>
> java.lang.ClassNotFoundException:
> org.apache.fineract.infrastructure.cache.service.RuntimeDelegatingCacheManager$1
> at
> org.apache.fineract.infrastructure.cache.service.RuntimeDelegatingCacheManager.switchToCache(RuntimeDelegatingCacheManager.java:93)
> at
> org.apache.fineract.infrastructure.cache.service.CacheWritePlatformServiceJpaRepositoryImpl.switchToCache(CacheWritePlatformServiceJpaRepositoryImpl.java:48)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
>
>
> Regards,
> Adam
>
>> On 29 Jan 2024, at 18:07, yurie walter <[email protected]> wrote:
>>
>> I’m also running a local build of Fineract 1.9 on docker. The issue I’m
>> facing is on testing the APIs. All other APIs are working okay when testing
>> on postman as shown on screenshot below, but when testing basic
>> authentication for user and self-service apis endpoints they are throwing
>> internal server errors as seen on the attached screen.
>> My question is what might the problem and how to resolve it?
>> <image0.jpeg><image1.jpeg>
>>
>> Best regards
>> Walter
>> Sent from my iPhone
>>
>>> On 29 Jan 2024, at 19:45, Ádám Sághy <[email protected]> wrote:
>>>
>>> Hi
>>>
>>> demo.mifos.io <http://demo.mifos.io/> is not maintained by the Fineract
>>> project.
>>>
>>> Please test these APIs on an instance that you are managing and if you
>>> still face any errors, kindly get back to us and share as much details as
>>> possible (like: version, release version or develop head, exception
>>> stacktrace from the log of the fineract backend, etc.
>>>
>>> Regards,
>>> Adam
>>>
>>>> On 29 Jan 2024, at 16:33, yurie walter <[email protected]> wrote:
>>>>
>>>>
>>>> Hi Arnold,
>>>>
>>>>
>>>> I am testing the API from the resent release version of fineract 1.9.0 all
>>>> other APIs are okay but getting internal server error on postman when I
>>>> test basic authentication for users & self-service user authentication.
>>>> Can you recommend ways to fix this?
>>>>
>>>> Postman url links: 1. Post
>>>> https:/demo.mifos.io/fineract-provider/api/v1/authentication
>>>> <http://demo.mifos.io/fineract-provider/api/v1/authentication>
>>>> 2. Post
>>>> https:/demo.mifos.io/fineract-provider/api/v1/self/authentication
>>>> <http://demo.mifos.io/fineract-provider/api/v1/self/authentication>
>>>>
>>>>
>>>>
>>>> Best regards
>>>>
>>>> Walter
>>>
>