Integration with notifo

AppID: 5b6cfbca-6650-4d41-9e35-b2d613973461

Key: cadmy5tlmfo6bxtcdwddfvkapqvyfm8gdnwaxb678vux

So you can paste it :slight_smile:

it just works for me …

I think you have forgotten to configure the API_URL. I have also not seen it :frowning:

{
   "notifo": {
        "appId": "5b6cfbca-6650-4d41-9e35-b2d613973461",
        "apiKey": "cadmy5tlmfo6bxtcdwddfvkapqvyfm8gdnwaxb678vux",
        "apiUrl": "https://siscom-notifo-stage.regione.sardegna.it/"
    }
}

Which version of squidex did you use?
We have the 5.9.0.0

A local version, 6.X.X … but the Notifo integration has not changed since a while.

Hello Sebastian, i’m fpisu’s colleague, trying configuration of our squidex instance…

-squidex version image 5.9.0
-env from yaml pod are:

spec:
containers:

same same like your previous test, in our squidex logs we receive:

{“logLevel”:“Error”,“action”:“RegisterToNotifo”,“status”:“Failed”,“details”:“HTTP Response: \n\n{\u0022message\u0022:null,\u0022traceId\u0022:\u002200-81ea51ee32df56952a064fb735c86439-3b8b7e568c3a73aa-01\u0022,\u0022type\u0022:\u0022https://tools.ietf.org/html/rfc7235#section-3.1\u0022,\u0022details\u0022:null,\u0022statusCode\u0022:401}\n\nNotifo.SDK.NotifoException: The HTTP status code of the response was not expected (401).\n\nStatus: 401\nResponse: \n{\u0022message\u0022:null,\u0022traceId\u0022:\u002200-81ea51ee32df56952a064fb735c86439-3b8b7e568c3a73aa-01\u0022,\u0022type\u0022:\u0022https://tools.ietf.org/html/rfc7235#section-3.1\u0022,\u0022details\u0022:null,\u0022statusCode\u0022:401}\n at Notifo.SDK.UsersClient.PostUsersAsync(String appId, UpsertUsersDto request, CancellationToken cancellationToken)\n at Squidex.Domain.Apps.Entities.History.NotifoService.UpsertUserAsync(IUser user) in /src/src/Squidex.Domain.Apps.Entities/History/NotifoService.cs:line 127”,“timestamp”:“2021-12-14T09:22:49Z”,“app”:{“name”:“Squidex”,“version”:“5.9.0.0”,“sessionId”:“c8a8a55b-291f-468e-9cc4-cac9adbb0ddb”},“exception”:{“type”:“Notifo.SDK.NotifoException”,“message”:“The HTTP status code of the response was not expected (401).\n\nStatus: 401\nResponse: \n{\u0022message\u0022:null,\u0022traceId\u0022:\u002200-81ea51ee32df56952a064fb735c86439-3b8b7e568c3a73aa-01\u0022,\u0022type\u0022:\u0022https://tools.ietf.org/html/rfc7235#section-3.1\u0022,\u0022details\u0022:null,\u0022statusCode\u0022:401}”,“stackTrace”:" at Notifo.SDK.UsersClient.PostUsersAsync(String appId, UpsertUsersDto request, CancellationToken cancellationToken)\n at Squidex.Domain.Apps.Entities.History.NotifoService.UpsertUserAsync(IUser user) in /src/src/Squidex.Domain.Apps.Entities/History/NotifoService.cs:line 127"}}

what do you think about it?

thank you

NOTIFO__APIURL not NOTIFO__APPURL

i’m very happy when solution is so easy :smiley: previous messages made me wrong

1 Like