Unsupported glossary source and target language pair
DeepL API gives you this error because you missed to get the fact glossaries in DeepL are extremely reduced as functionality.Error text is:
{"message":"Unsupported glossary source and target language pair"}
DeepL API documentation says that only these pairs of languages are supported: