nestjs-slack icon indicating copy to clipboard operation
nestjs-slack copied to clipboard

Node-fetch - Only absolute URL are supported?

Open Meywether opened this issue 3 years ago • 6 comments
trafficstars

Hi @cobraz, hope you re doing well, i am suddenly running into this issue, and do not know why. Here are the relevant code parts.

The error and a apart of the url: image

The initialization: image

The call: image

I really do not know why this is happening, because the webhook url ist valid and working...

Do you have any ideas for me ?

Kind regards Meywether

Meywether avatar Nov 02 '22 10:11 Meywether

Hm, you might need to set channel. We should probably resolve to that first channel.

this.slackService.sendText('${system} ${msg}`, { channel: 'backend_notification' });

simenandre avatar Nov 06 '22 19:11 simenandre

Hi @cobraz, nope, still not working sorry: image

image

Any futher ideas ? I am really grounded XD

Kind regards :)

Meywether avatar Nov 08 '22 07:11 Meywether

I tried also only one channel without the channels array and placing also the url directly into the code. Sorry but still not working :(

Meywether avatar Nov 08 '22 15:11 Meywether

Maybe you can share a repro?

simenandre avatar Dec 04 '22 19:12 simenandre

@cobraz, for sure: https://github.com/Meywether/slack_repro

I am very eager to see where my mistake is :) Best regards Meywether

Meywether avatar Dec 16 '22 09:12 Meywether

@cobraz Any news for me :) Thank you

Meywether avatar Mar 08 '23 10:03 Meywether