memsource plugin throws error when trying to connect

Hi,

whenever I try to connect to Memsource via the plugin using the memsource credentials I got from my client, I get the following error:

Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

regards,

Pascal

Parents Reply Children
  • Hi ,

    Thanks, that does the trick. Connection seems to work now (Green Tick symbol and Authorized next to it) but the OK button is greyed out. I guess this is the case because there is no pending job for that client right now.

  • Hello,

    This does indeed work as I also can now safely access the tool and server.

    However, a new issue came up: I select the appropriate TM but than I receive the following error message.

    Unhandled exception. Error info save to errorLog.txt file. Error message:Object reference not set to an instance of an object.

    Detailed error stack is as follows

    New exception entry: 05/02/2021 13:56:57
    La référence d'objet n'est pas définie à une instance d'un objet.
       à Sdl.Community.MemSource.CloudTM.Provider.MemSourceCloudTmProviderConfDialog.linkLabel_browseTM_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e)
       à System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
       à System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
       à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       à System.Windows.Forms.Control.WndProc(Message& m)
       à System.Windows.Forms.Label.WndProc(Message& m)
       à System.Windows.Forms.LinkLabel.WndProc(Message& msg)
       à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Any idea what could be the issue here?

    Thanks!

  • Hi ,

    Ok, today I got a new project for memsource. As I said before I can log in with my credentials but I cannot hit OK to confirm the memsource plugin (probably because there is no TM selected) and if I click to select a TM I get a popup: Minimum one error occurred. After I click OK to close that popup I only see a blank list.

    Am I doing something wrong?

  • Hi ,

    Can you please navigate to the following path and give us the logging file?

    C:\Users\[username]\AppData\Roaming\SDL Community\MemSourceCloudTm

    Kind regards,

    Andrea Ghisa

  • here we go.

    Sdl.Community.MemSource.CloudTM.Provider.MemSourceCloudTmProviderSelectTm: 2021-02-04 11:23:44.6922 Error System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> System.Net.Http.HttpRequestException: Der Antwortstatuscode gibt keinen Erfolg an: 403 ().
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
       bei System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
       bei System.Threading.Tasks.Task`1.get_Result()
       bei Sdl.Community.MemSource.CloudTM.Provider.memSource.TM.Provider.Processor.GetTms(String token, String page, String name, String sourceLang, String targetLang, String client, String domain, String subDomain)
       bei Sdl.Community.MemSource.CloudTM.Provider.MemSourceCloudTmProviderSelectTm.FilterTmList()
    ---> (Interne Ausnahme #0) System.Net.Http.HttpRequestException: Der Antwortstatuscode gibt keinen Erfolg an: 403 ().<---
      Der Antwortstatuscode gibt keinen Erfolg an: 403 ().

    Edit: Strange, why can't I select a file from my PC?

  • Hello ,

    I have tried to replicate this issue and can only force the same error, if i try to add the same TM twice.

    For example

    Also if i select a different TM- I cant force the error.

    Im wondering perhaps, when you go into the MemSource Plugin Settings, whether the TM field is blank- i.e. the TM is already selected, but not showing in the relevant field?)

    Lydia Simplicio | RWS Group

    _______
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi ,

    This is the error you see in Studio?

     

    I was able to reproduce this problem when I've open an old project where I had already added some credentials which in the meantime they expired (Even if in the provider I could see the blue tick with "Authorized".

    Also from Fiddler I saw the response from Memsource is 403: Organization account expired. 

    Can you please check in Memosurce what type of account do you have and if is an active one? You'll need ultimate or above for the API calls to be enabled.

    If your account is Ultimate, please remove the provider from the project, and reenter the credentials.

  • Hi ,

    I just started to investigate this issue, can you please show me a screenshot of the plugin settings page and with the Plugin Translation Memory window?

    Also can you please tell me the steps on how I can reproduce this problem?

    Kind regards,

    Andrea Ghisa

  • Hi ,

    I don't know what account it is as it is supplied by my client. Will check, if they can/want to tell me.

  • Hello @ 

    We have just released a new version which I have tested, and now works.

    Could you please install the new version and see if this has fixed the issue on your side.

    Lydia Simplicio | RWS Group

    _______
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub